package com.ims.core.enums;

/**
 * 单据状态
 * 0    已作废
 * 10    未开票
 * 15    已红冲
 * 20    待开票
 * 30    已开票
 * 40    已完成
 * @author IMS
 */
public enum SettlebillStatus {
    UNCOMPLETED(0, "待处理"),
    FAILED(10, "失败"),
    ERROR(90, "异常"),
    COMPLETED(100, "已完成");

    private final int code;
    private final String name;

    SettlebillStatus(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
